"""
coding:utf-8
@describe:注册当前api模块下蓝图, 就是把视图函数文件都注册到这里面
@Time:2022/5/28 21:38
@Author:川
"""
from flask import Flask
from apps.views.api.demo import api_demo


def register_api_views(app: Flask):
    """
    注册蓝图
    :param app:
    :return:
    """
    app.register_blueprint(api_demo, url_prefix="/api/demo") # # 蓝图名称api_demo,路由访问前缀/api/demo
